Overview
Package
Class
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
addGlobalsAndPanelComponents
()
- Method in
UserGlobalsAndPanelFactory
Add experiment variables as components to the user panel.
agentOnDesert
()
- Method in
Tribe
Determine the number of agents on patch (if patch is desert).
agentOnLush
()
- Method in
Tribe
Determine the number of agents on patch (if patch is lush).
agentOnMiddle
()
- Method in
Tribe
Determine the number of agents on patch (if patch is middle habitat).
B
birthsOnDesert
()
- Method in
Tribe
Determine the number of births on patch (if patch is desert).
birthsOnLush
()
- Method in
Tribe
Determine the number of births on patch (if patch is lush).
birthsOnMiddle
()
- Method in
Tribe
Determine the number of births on patch (if patch is middle habitat).
build
(Context)
- Method in
SimBuilder
C
crosspopulateFood
()
- Method in
UserPatch
Repopulates empty prey and wild cereal resources based on the number of units on neighboring patches.
cull
(def)
- Method in
Tribe
Cull population to maximum size that can be sustained by energy gathered.
D
deactivate
()
- Method in
FarmedCereal
Deactivate farming.
deactivateFarmedCereal
()
- Method in
UserPatch
Replenish and hide farmed cereal capacity.
deathsOnDesert
()
- Method in
Tribe
Determine the number of deaths on patch (if patch is desert).
deathsOnLush
()
- Method in
Tribe
Determine the number of deaths on patch (if patch is lush).
deathsOnMiddle
()
- Method in
Tribe
Determine the number of deaths on patch (if patch is middle habitat).
DisplayHistogram
- Class in
DisplayHistogram
A turtle used to display food and population levels.
drawHistogram
()
- Method in
UserObserver
Display population and amount of food available, by displaying population label and three-bar resource histogram.
drawPatchColour
()
- Method in
UserObserver
Display amount of wild cereal available, by colouring each patch on a false colour spectrum.
E
F
FarmedCereal
- Class in
FarmedCereal
Farmed cereal is a food resource maintained by handling (cultivation by a tribe) rather than automatic growth.
farmedCerealNAROnDesert
()
- Method in
UserPatch
Determine the farmed cereal NAR on this patch (if patch is desert).
farmedCerealNAROnLush
()
- Method in
UserPatch
Determine the farmed cereal NAR on this patch (if patch is lush).
farmedCerealNAROnMiddle
()
- Method in
UserPatch
Determine the farmed cereal NAR on this patch (if patch is middle habitat).
farmedCerealOnDesert
()
- Method in
UserPatch
Determine the total amount of farmed cereal on patch (if patch is desert).
farmedCerealOnLush
()
- Method in
UserPatch
Determine the total amount of farmed cereal on patch (if patch is lush).
farmedCerealOnMiddle
()
- Method in
UserPatch
Determine the total amount of farmed cereal on patch (if patch is middle habitat).
farmedCerealTotalNAR
()
- Method in
UserPatch
Determine the farmed cereal NAR on this patch.
Food
- Class in
Food
Renewable resource for tribes to extract energy from via handling (hunting, gathering or farming).
forage
()
- Method in
Gatherer
Forage one year's worth of cereal.
forage
()
- Method in
HunterGatherer
Forage one year's worth of prey and cereal.
forage
()
- Method in
IdealFreeDistribution
Forage one year's worth of prey, wild cereal and farmed cereal.
forage
()
- Method in
Tribe
All extending classes must implement a foraging algorithm.
G
Gatherer
- Class in
Gatherer
Tribe that relies solely on wild cereal for sustenance, and has perfect global knowledge.
go
()
- Method in
UserObserver
Each epoch, execute activity for all tribes and all food resources on the grid.
grow
()
- Method in
Food
Grow food source based on current amount, growth rate and upper limit.
H
handle
(def, def)
- Method in
FarmedCereal
Cultivate farmed cereal and returns net energy obtained by tribe in 365 14-hour days.
handle
(def, def)
- Method in
Food
Decrement food resource and return net energy obtained by tribe in 365 14-hour days.
handleFarmedCereal
(def, def)
- Method in
UserPatch
Cultivate farmed cereal and return net energy obtained by tribe in 365 14-hour days.
handlePrey
(def, def)
- Method in
UserPatch
Decrement prey and return net energy obtained by tribe in 365 14-hour days.
handleWildCereal
(def, def)
- Method in
UserPatch
Decrement wild cereal and return net energy obtained by tribe in 365 14-hour days.
HunterGatherer
- Class in
HunterGatherer
Tribe that relies on both wild cereal and prey for sustenance, and has perfect global knowledge.
I
IdealFreeDistribution
- Class in
IdealFreeDistribution
Tribe that relies on wild cereal, prey and farmed cereal for sustenance, and has perfect global knowledge.
init
(def)
- Method in
FarmedCereal
Set the upper limit (number of units) for this resource based on the carrying capacity, and initialise this resource as unfarmed.
init
(def)
- Method in
Food
Set the upper limit (number of units) for this food source based on the carrying capacity, and initialise current amount to that maximum.
J
K
L
M
migrationsToDesert
()
- Method in
Tribe
Determine the number of migrations by this agent (if patch is desert).
migrationsToLush
()
- Method in
Tribe
Determine the number of migrations by this agent (if patch is lush).
migrationsToMiddle
()
- Method in
Tribe
Determine the number of migrations by this agent (if patch is middle habitat).
move
()
- Method in
Gatherer
Move tribe to the best patch on the grid (including patch it is on).
move
()
- Method in
HunterGatherer
Move tribe to the best patch on the grid (including patch it is on).
move
()
- Method in
IdealFreeDistribution
Move tribe to the best patch on the grid (including patch it is on).
move
()
- Method in
RealisticFreeDistribution
Move tribe to the best patch in its immediate neighborhood (including patch it is on).
move
()
- Method in
Tribe
All extending classes must implement an algorithm for deciding whether or not to move, and to which patch.
N
netAcquisitionRate
()
- Method in
FarmedCereal
Get the net acquisition rate for this resource.
netAcquisitionRate
()
- Method in
Food
Calculate the NAR for this food resource.
O
P
preyNAROnDesert
()
- Method in
UserPatch
Determine the prey NAR on this patch (if patch is desert).
preyNAROnLush
()
- Method in
UserPatch
Determine the prey NAR on this patch (if patch is lush).
preyNAROnMiddle
()
- Method in
UserPatch
Determine the prey NAR on this patch (if patch is middle habitat).
preyOnDesert
()
- Method in
UserPatch
Determine the total amount of prey on patch (if patch is desert).
preyOnLush
()
- Method in
UserPatch
Determine the total amount of prey on patch (if patch is lush).
preyOnMiddle
()
- Method in
UserPatch
Determine the total amount of prey on patch (if patch is middle habitat).
preyTotalNAR
()
- Method in
UserPatch
Determine the prey NAR on this patch.
Q
R
RealisticFreeDistribution
- Class in
RealisticFreeDistribution
Tribe that relies on wild cereal, prey and farmed cereal for sustenance, but has only limited, local knowledge.
redrawPatches
()
- Method in
UserObserver
Redraw patches based on user-selected drawing method.
replenishPrey
()
- Method in
UserPatch
Replenish prey resource and update NAR value.
replenishWildCereal
()
- Method in
UserPatch
Replenish wild cereal resource and update NAR value.
reproduce
(def)
- Method in
Tribe
Increase population of tribe.
reset
()
- Method in
Tribe
Sets a tribe's population back to the default (20 individuals).
S
setCarryingCapacity
(def, def, def)
- Method in
UserPatch
Set upper limit for each food resources based on carrying capacity (maximum sustainable density), and initializes number of food units to maximum for each food type (based on area of).
setFarm
(def)
- Method in
FarmedCereal
Set this resource to a farmed or unfarmed state.
setup
()
- Method in
UserObserver
Initialises grid when user clicks setup button.
SimBuilder
- Class in
SimBuilder
step
(def)
- Method in
Tribe
Execute tribe's yearly cycle of activity in a fixed order: reproduce, decide whether to move to a new patch, forage for food.
T
totalFarmedCereal
()
- Method in
UserPatch
Determine the total amount of farmed cereal on this patch.
totalPrey
()
- Method in
UserPatch
Determine the total amount of prey on this patch.
totalWildCereal
()
- Method in
UserPatch
Determine the total amount of wild cereal on this patch.
Tribe
- Class in
Tribe
Abstract turtle forming the basis for all tribes (agents).
U
update
()
- Method in
DisplayHistogram
Update shape and label based on food and population levels of underlying patch.
UserGlobalsAndPanelFactory
- Class in
UserGlobalsAndPanelFactory
Defines GUI elements of user panel.
UserLink
- Class in
UserLink
Ignored.
UserObserver
- Class in
UserObserver
Simulation controller.
UserPatch
- Class in
UserPatch
A single patch of terrain on the grid with food resources for tribes to handle (hunt, gather or farm).
UserTurtle
- Class in
UserTurtle
Ignored.
V
W
wildCerealNAROnDesert
()
- Method in
UserPatch
Determine the wild cereal NAR on this patch (if patch is desert).
wildCerealNAROnLush
()
- Method in
UserPatch
Determine the wild cereal NAR on this patch (if patch is lush).
wildCerealNAROnMiddle
()
- Method in
UserPatch
Determine the wild cereal NAR on this patch (if patch is middle habitat).
wildCerealOnDesert
()
- Method in
UserPatch
Determine the total amount of wild cereal on patch (if patch is desert).
wildCerealOnLush
()
- Method in
UserPatch
Determine the total amount of wild cereal on patch (if patch is lush).
wildCerealOnMiddle
()
- Method in
UserPatch
Determine the total amount of wild cereal on patch (if patch is middle habitat).
wildCerealTotalNAR
()
- Method in
UserPatch
Determine the wild cereal NAR on this patch.
X
Y
Z
_